package com.iims.common.core.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author fanpei
 * @date 2021/5/20 13:04
 */
@ApiModel("列表实体")
@Data
public class TableDataValue {

    @ApiModelProperty(value = "当前页")
    private int pageNum;

    @ApiModelProperty(value = "分页参数")
    private int pageSize;

    @ApiModelProperty(value = "总页数", dataType = "Long")
    private long pageTotal;

    /**
     * 总记录数
     */
    @ApiModelProperty(value = "总记录数", dataType = "Long")
    private long total;


    /**
     * 列表数据
     */
    @ApiModelProperty(value = "数据记录")
    private List<?> rows;

}
